package ONE;
import java.util.Scanner;
public class Test {
	public static void main(String args[]){
		String n;
		MusicBox M=null;
		Scanner scan=new Scanner(System.in);
		System.out.println("Please enter the name of the instrument(Piano or Violin):");
		n=scan.next();
		M=MusicBoxFactory.getInstance(n);
		if(M!=null){
			M.say();
		}
	}
}
